package com.ruoyi.oa.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 学生请假管理 manage_leave
 *
 * @author zyy
 */
public class LeaveStudent extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 请假ID
     */
    @Excel(name = "请假ID")
    private Long leaveId;

    /**
     * 请假人
     */
    @Excel(name = "请假人ID", type = Excel.Type.IMPORT)
    private String leaverId;

    /**
     * 请假人姓名
     */
    @Excel(name = "请假人姓名")
    private String leaverName;

    /**
     * 请假人性别
     */
    @Excel(name = "请假人性别")
    private String leaverSex;

    /**
     * 请假人班级
     */
    @Excel(name = "请假人班级")
    private String leaverclass;

    /**
     * 请假类型  病假、事假
     */
    @Excel(name = "请假类型")
    private String type;

    @Excel(name = "请假开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @Excel(name = "请假结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 请假时长 H、D
     */
    @Excel(name = "请假时长")
    private String duration;

    /**如果是病假，需要填写详细信息：昨日体温、今日体温、症状及原因、是否有离津史、就诊医院、诊断结果**/
    @Excel(name = "昨日体温")
    private Float yesTemperature;

    @Excel(name = "今日体温")
    private Float todayTemperature;

    @Excel(name = "症状及原因")
    private String description;

    @Excel(name = "是否有离津史")
    private String isLeaveJin;
    @Excel(name = "就诊医院")
    private String hospital;
    @Excel(name = "诊断结果")
    private String result;

    public Long getLeaveId() {
        return leaveId;
    }

    public void setLeaveId(Long leaveId) {
        this.leaveId = leaveId;
    }

    public String getLeaverId() {
        return leaverId;
    }

    public void setLeaverId(String leaverId) {
        this.leaverId = leaverId;
    }

    public String getLeaverName() {
        return leaverName;
    }

    public void setLeaverName(String leaverName) {
        this.leaverName = leaverName;
    }

    public String getLeaverSex() {
        return leaverSex;
    }

    public void setLeaverSex(String leaverSex) {
        this.leaverSex = leaverSex;
    }

    public String getLeaverclass() {
        return leaverclass;
    }

    public void setLeaverclass(String leaverclass) {
        this.leaverclass = leaverclass;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public Float getYesTemperature() {
        return yesTemperature;
    }

    public void setYesTemperature(Float yesTemperature) {
        this.yesTemperature = yesTemperature;
    }

    public Float getTodayTemperature() {
        return todayTemperature;
    }

    public void setTodayTemperature(Float todayTemperature) {
        this.todayTemperature = todayTemperature;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIsLeaveJin() {
        return isLeaveJin;
    }

    public void setIsLeaveJin(String isLeaveJin) {
        this.isLeaveJin = isLeaveJin;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
